class demo {
    constructor(name,age) {
        this.name=name;
        this.age=age;
    }
    show(){
        console.log(this.name+this.age);
    }
}
let a = new demo('张三',200);
a.show();